package com.soap.learning;

/**
 * Created by k2data on 17-1-5.
 */
import com.soap.learning.server.RandImpl;
import com.soap.learning.server.RandService;

import javax.xml.ws.Endpoint;

public class RandPublisher {
    public static void runserver(String[] args){
        final String url = "http://0.0.0.0:8888/rs";
        String msg = args[0];
        //String msg = "Publishing RandService at endpoint";

        System.out.println(msg + url);
        Endpoint.publish(url, new RandImpl());
    }
}
